﻿using System.Web.Mvc;
using DevExpress.Xpo;
using System.Collections.Generic;
using System;

namespace WROA.Controllers
{
    [HandleError]
    public class HomeController : Controller
    {
        public static List<int> l = new List<int>();

        public ActionResult Index()
        {
            ViewData["Message"] = "欢迎使用 ASP.NET MVC!";
            l.Add(1);
            for (int i = 0; i < l.Count; i++)
            {
                Response.Write(l[i]);
            }
            return View();
        }

        /// <summary>
        /// 系统母板页
        /// </summary>
        /// <returns></returns>
        public ActionResult Manage()
        {
            return View();
        }

        /// <summary>
        /// 奏折管理页
        /// </summary>
        /// <returns></returns>
        public ActionResult Material()
        {
            return View();
        }

        /// <summary>
        /// 工作流清单
        /// </summary>
        /// <returns></returns>
        public ActionResult FlowList()
        {
            return View();
        }

        /// <summary>
        /// 工作流步骤清单
        /// </summary>
        /// <returns></returns>
        public ActionResult FlowStepList()
        {
            return View();
        }

        /// <summary>
        /// 初始新建流程
        /// </summary>
        /// <returns></returns>
        public ActionResult NewFlow1()
        {
            return View();
        }

        /// <summary>
        /// 继续新建流程
        /// </summary>
        /// <returns></returns>
        public ActionResult NewFlow2()
        {
            return View();
        }

        /// <summary>
        /// 流程图表
        /// </summary>
        /// <returns></returns>
        public ActionResult FlowLegend()
        {
            return View();
        }

        /// <summary>
        /// 设置流转人员
        /// </summary>
        /// <returns></returns>
        public ActionResult FlowPeople()
        {
            return View();
        }

        /// <summary>
        /// 申请单管理
        /// </summary>
        /// <returns></returns>
        public ActionResult FormList()
        {
            return View();
        }

        /// <summary>
        /// 会议申请
        /// </summary>
        /// <returns></returns>
        public ActionResult Meeting() {
            return View();
        }

        /// <summary>
        /// 用车申请
        /// </summary>
        /// <returns></returns>
        public ActionResult UseCar() {
            return View();
        }

        /// <summary>
        /// 公文申请
        /// </summary>
        /// <returns></returns>
        public ActionResult Officialese()
        {
            return View();
        }
    }
}